﻿import { axios } from '@/utils/request'

/**
 * 查询Issue
 *
 * @author BettyZhao
 */
export function IssuePage (parameter) {
  return axios({
    url: '/Issue/page',
    method: 'get',
    params: parameter
  })
}

/**
 * Issue列表
 *
 * @author BettyZhao
 */
export function IssueList (parameter) {
  return axios({
    url: '/Issue/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加Issue
 *
 * @author BettyZhao
 */
export function IssueAdd (parameter) {
  return axios({
    url: '/Issue/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑Issue
 *
 * @author BettyZhao
 */
export function IssueEdit (parameter) {
  return axios({
    url: '/Issue/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除Issue
 *
 * @author BettyZhao
 */
export function IssueDelete (parameter) {
  return axios({
    url: '/Issue/delete',
    method: 'post',
    data: parameter
  })
}

/**
* 获取Project列表
* @author BettyZhao
*/
export function IssueFkProjectList() {
  return axios({
    url: '/Issue/fkProject',
    method: 'get'
  })
}
